package com.ruoyi.industryfrontend.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 空间收藏对象 space_collect
 *
 * @author MagicCube
 * @date 2023-05-23
 */
public class SpaceCollect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收藏id */
    private Long id;

    /** 收藏用户id */
    @Excel(name = "收藏用户id")
    private Long userId;

    /** 空间编号 */
    @Excel(name = "空间编号")
    private String serialNumber;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setSerialNumber(String serialNumber)
    {
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber()
    {
        return serialNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("serialNumber", getSerialNumber())
            .append("createTime", getCreateTime())
            .toString();
    }
}
